package enums;

public class Test {

    public static void main(String[] args) {
        Apple ap = Apple.Cortland;
        for(Apple a:Apple.values()){
            System.out.println(a+" price is: "+a.getPrice());

        }

    }
}

